package com.ruoyi.material.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 类别信息对象 category_info
 * 
 * @author ruoyi
 * @date 2022-08-23
 */
public class CategoryInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 类别编号 */
    @Excel(name = "类别编号")
    private String categoryNo;

    /** 类别名称 */
    @Excel(name = "类别名称")
    private String categoryName;

    /** 是否免检 */
    @Excel(name = "是否免检")
    private String isCheck;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCategoryNo(String categoryNo) 
    {
        this.categoryNo = categoryNo;
    }

    public String getCategoryNo() 
    {
        return categoryNo;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setIsCheck(String isCheck) 
    {
        this.isCheck = isCheck;
    }

    public String getIsCheck() 
    {
        return isCheck;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryNo", getCategoryNo())
            .append("categoryName", getCategoryName())
            .append("isCheck", getIsCheck())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("comment", getComment())
            .toString();
    }
}
